package com.jy.rhin.infra.cda.dao.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jy.rhin.infra.cda.crbbg.ChuanRanBBKVo;
import com.jy.rhin.infra.cda.dao.ChuanRanBBGDao;
import com.jy.rhin.infra.cda.mapper.ChuanRanBBGMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ChuanRanBBGDaoImpl implements ChuanRanBBGDao {

    @Resource
    private ChuanRanBBGMapper chuanRanBBGMapper;

    @Override
    public ChuanRanBBKVo get(String yiLiaoJGDM, String chuanRanBBGKBH) {
        QueryWrapper<ChuanRanBBKVo> queryWrapper = new QueryWrapper<>();
        queryWrapper.eq("YILIAOJGDM", yiLiaoJGDM);
        queryWrapper.eq("CHUANRANBINGBGKBH", chuanRanBBGKBH);
        return chuanRanBBGMapper.getOne(queryWrapper);
    }

}
